from rest_framework.serializers import ModelSerializer

from HttpTestcase.serializers import TestSuiteSerializer
from apps.HttpTestcase.models.testsuiteset2testsuite import TestsuiteSet2Testsuite


class Testsuite2TestsuiteSerializer(ModelSerializer):
    testsuite = TestSuiteSerializer()

    class Meta:
        model = TestsuiteSet2Testsuite
        exclude = ('id', 'create_time', 'update_time')
